<style type="text/css">
.syscolor{color:#cdab6a}
.sysbgcolor{background-color:#cdab6a}
</style>
<div class="fui-page fui-page-current">
	<div class="fui-content">
	<style>
	.carousel {margin-top:2.2rem}
	.margin-top0 {margin-top:0}
	.radius .carousel-inner {border-radius:0.5rem}
	</style>
	<div id="carousel-container" ng-class="{'carousel slide':1,'margin-top0':pagedata.pluginset.issearch==1}" data-role="carousel" data-param-auto="true" ng-if="pagedata.pluginset.hdps">
		<div class="carousel-inner" role="listbox">
			<div ng-repeat="img in pagedata.store.images" ng-class="{'item':1, 'active':$index==0}" >
				<a>
					<img ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}" style="display: block; width: 100%; height: 100%;">
				</a>
			</div>
		</div>
		<style>
				.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
				.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
		</style>
		<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 0.2rem; bottom: 0.2rem; ">
			<div class="fui-swipe-bullet" ng-repeat="img in pagedata.store.images" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
		</div>
	</div>
	<script>
		require(['bootstrap', 'hammer'], function($, Hammer){
			$('#carousel-container').carousel();
			var mc = new Hammer($('#carousel-container').get(0));
			mc.on("panleft", function(ev) {
				$('#carousel-container').carousel('next');
			});
			mc.on("panright", function(ev) {
				$('#carousel-container').carousel('prev');
			});
		});
	</script>
	<div class="name fui-list-group" style="height:auto;margin-top:0;">
						<div class="fui-list">
							<div class="fui-list-inner" style="border-right: 2px solid #efefef;">
								<div class="title bold">{{pagedata.store.brandname || '无'}}({{pagedata.store.title}})</div>
								<div class="subtitle"> 
								{{pagedata.store.desc || '暂时没有门店描述... ...'}}
								</div>
							</div>
						   <div class="fui-list-media" style="width:3.6rem;text-align:center;padding-left:0.5rem">
								<div class="fui-list-inner">
									<div class="num bold" style="font-size:0.8rem;color:#da7b5f">{{pagedata.ordernum || 0}}</div>
									<div class="subtitle">服务人次</div>
							   </div>
						   </div>
						</div>
						<div class="fui-list">
							<div class="fui-list-inner subtitle" style="font-size:0.55rem">
								<div class="subtitle">
									<i class="icon icon-clock" style="font-size:0.65rem"></i> {{pagedata.store.time.start || '8:00'}} ~ {{pagedata.store.time.end || '22:00'}}
								</div>
								<div class="subtitle">
									<i class="icon icon-map" style="font-size:0.6rem"></i>
									{{pagedata.store.address || '该门店还未填写地址'}}
								</div>
							</div>
							<div class="row-remark text-cancel" style="width: 2rem;">
								<div href="tel:{{pagedata.store.mobile}}"><i class="icon icon-phone syscolor" style="font-size:1rem"></i></div>
							 </div>
						</div>
	</div>
	<div style="padding: 0.25rem 0.5rem;width:100%">
	<div class="weui_cells_title" style="background-color: #fff;border-bottom: 1px dashed #fafafa;margin-bottom:0;padding-top:10px"><i class="icon jinyunicon icon-dianpu" style="font-size:0.76rem"></i>商家服务</div>
	<div class="fui-icon-group noborder col-4" style="background-color: #fff;">
					<div class="fui-icon-col external"  href="javascript:;" ng-click="access_json('jy_meye/myshop//store_id='+pagedata.store.id)" >
						<div class="badge"></div>
						<div class="icon icon-green radius"><i class="icon icon-dianpu syscolor"></i></div>
						<div class="text">商城</div>
					</div>
					<div class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_meye/serverlist//store_id='+pagedata.store.id)">
						<div class="badge"></div>
						<div class="icon icon-green radius"><i class="icon icon-kefuyouxian1 syscolor"></i></div>
						<div class="text">项目</div>
					</div>
					<div class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_meye/serverlist//type=2')">
						<div class="badge"></div>
						<div class="icon icon-green radius"><i class="icon icon-huiyuanqia syscolor"></i></div>
						<div class="text">次卡</div>
					</div>
					<div class="fui-icon-col external" href="javascript:;" ng-click="access_json('jy_meye/worker/')">
						<div class="badge"></div>
						<div class="icon icon-green radius"><i class="icon icon-paihao0 syscolor"></i></div>
						<div class="text">技师</div>
					</div>
	</div>
	<div class="weui_cells_title" style="background-color: #fff;border-bottom: 1px dashed #fafafa;margin-bottom:0;padding-top:10px"><i class="icon jinyunicon icon-guanyuwo" style="font-size:0.76rem"></i>明星技师</div>
	<div ng-if="pagedata.worker_list.length>0" class="fui-tab-scroll" style="background:#fff;height: 5rem">
				<div class='xcontainer' style="z-index:0;height: 5rem;padding:0.3rem">
					<div ng-repeat="item in pagedata.worker_list" ng-click="access_json('jy_meye/worker/detail/id='+item.id)" style="width:3rem;float:left;text-align:center;margin:.2rem">
						<div class="weui_cells_radio3" style="width:100%">
							<img class="img-circle" style="width:3rem;height:3rem" src="{{tomedia(item.headimg) || '../core/resource/images/nopic.jpg'}}">
						</div>
						<div>
							<span style="font-size:0.6rem">{{item.name}}</span>
						</div>
					</div>
				</div>
	</div>
	</div>
	<div style="padding: 0.25rem 0.5rem;width:100%" ng-include="sys_html('common/_sever_you')"></div>
</div>
</div>
<script type="text/javascript">
scope.pagedata.pluginset.issearch=1;
scope.pagedata.pluginset.hdps=scope.pagedata.store.images;
scope.pagedata.openLocation=function(item){
	wx.openLocation({
	latitude: item.lat_lng.lat, // 纬度，浮点数，范围为90 ~ -90
	longitude: item.lat_lng.lng, // 经度，浮点数，范围为180 ~ -180。
		name: item.province+item.city+item.district, // 位置名
		address: item.address, // 地址详情说明
		scale: 20, // 地图缩放级别,整形值,范围从1~28。默认为最大
		infoUrl: '', // 在查看位置界面底部显示的超链接,可点击跳转
		success:function(){
			//alert(1111);
		}
	});
}
</script>
<div ng-include="sys_html('_footer')"></div>